package com.devilvan.betrice.aiqicha.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.devilvan.betrice.aiqicha.deserialize.ParseHyphenDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author Evad.Wu
* @Description 爱企查-专利信息 值对象
* @date 2022-09-23
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "爱企查-专利信息 值对象")
public class AiqichaPatentVo {
    @Schema(description = "企业系统ID")
    @JSONField(deserialize = false)
    private Long pid;
    @Schema(description = "专利名称")
    @JSONField(alternateNames = {"patentName"})
    private String patentName;
    @Schema(description = "公布/公告号")
    @JSONField(alternateNames = {"publicationNumber"})
    private String publicationNumber;
    @Schema(description = "专利类型")
    @JSONField(alternateNames = {"patentType"})
    private String patentType;
    @Schema(description = "公布/公告日期")
    @JSONField(alternateNames = {"publicationDate"}, deserializeUsing = ParseHyphenDeserializer.class)
    private Date publicationDate;
}
